package com.hoshiicloud.saleorder.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 金币流水
* </p>
*
* @author zhangshuhu
* @since 2019-06-03
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CoinListVO对象", description="金币流水")
public class CoinListDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
    * 子订单ID
    */
    @ApiModelProperty(value = "子订单ID")
    private Long subId;
    /**
    * 支付流水号
    */
    @ApiModelProperty(value = "支付流水号")
    private String payOrderno;
    /**
    * 1-消费 2-退款
    */
    @ApiModelProperty(value = "1-消费 2-退款")
    private Integer payType;
    /**
    * 支付日期时间
    */
    @ApiModelProperty(value = "支付日期时间")
    private LocalDateTime paytime;
    /**
    * 金币数
    */
    @ApiModelProperty(value = "金币数")
    private BigDecimal payamount;
    /**
    * 等额人民币
    */
    @ApiModelProperty(value = "等额人民币")
    private BigDecimal amount;
    /**
    * 0-未付款 1-已付款 -1 建议异常
    */
    @ApiModelProperty(value = "0-未付款 1-已付款 -1 建议异常")
    private Integer status;
    /**
    * 关联单号（销售主单/退款单号
    */
    @ApiModelProperty(value = "关联单号（销售主单/退款单号")
    private String refno;
    /**
    * 提交时间
    */
    @ApiModelProperty(value = "提交时间")
    private LocalDateTime createdtime;
    /**
    * 制单人
    */
    @ApiModelProperty(value = "制单人")
    private String createdby;
    /**
    * 更新时间
    */
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedtime;
    /**
    * 更新人
    */
    @ApiModelProperty(value = "更新人")
    private String updatedby;
}
